'use strict';

/**
 * @ngdoc function
 * @name jgappApp.controller:RelativepageCtrl
 * @description
 * # RelativepageCtrl
 * Controller of the jgappApp
 */
angular.module('jgappApp')
    .controller('RelativepageCtrl', function($scope, $routeParams, logList, TaskReviewService, Util, openApi) {
        var param = {}
        param.formKey = $routeParams.formKey
        param.moduleNo = $routeParams.moduleNo
            // 获取回显的详细信息
        var getDetailData = function() {
            var options = {};
            options.param = param;
            options.url = openApi.getRelatedModuleData;
            var TaskReview = new TaskReviewService(options);
            $scope.TaskReview = TaskReview;
        };
        var init = function() {
            getDetailData();
        };
        // 初始化
        init();
    });
